import { http } from "@/utils/http";

// 获取能流图
export const getFlowAPI = data => {
  return http.request("post", "/energy/balance/getFlow", {
    data
  });
};

// 获取节点利用率
export const getUseRatioAPI = data => {
  return http.request("post", "/energy/balance/getUseRatio", {
    data
  });
};

// 利用率总览--- 表格+线
export const getViewEnergyUseRatioAPI = data => {
  return http.request("post", "/energy/balance/viewEnergyUseRatio", {
    data
  });
};
